<HTML>
<BODY>
<PRE>
<!-- Manpage converted by man2html 3.0.1 -->

<B><A HREF="MEMCPY.html">MEMCPY(3)</A></B>	       FreeBSD Library Functions Manual 	     <B><A HREF="MEMCPY.html">MEMCPY(3)</A></B>


</PRE>
<H2>NAME</H2><PRE>
     <B>memcpy</B> - copy byte string


</PRE>
<H2>SYNOPSIS</H2><PRE>
     <B>#include</B> <B>&lt;string.h&gt;</B>

     <I>void</I> <I>*</I>
     <B>memcpy</B>(<I>void</I> <I>*dst</I>, <I>const</I> <I>void</I> <I>*src</I>, <I>size</I><B>_</B><I>t</I> <I>len</I>)


</PRE>
<H2>DESCRIPTION</H2><PRE>
     The <B>memcpy</B>() function copies <I>len</I> bytes from string <I>src</I> to string <I>dst</I>.


</PRE>
<H2>RETURN VALUES</H2><PRE>
     The <B>memcpy</B>() function returns the original value of <I>dst</I>.


</PRE>
<H2>SEE ALSO</H2><PRE>
     <B><A HREF="bcopy.html">bcopy(3)</A></B>,	<B><A HREF="memccpy.html">memccpy(3)</A></B>,  <B><A HREF="memmove.html">memmove(3)</A></B>,  <B><A HREF="strcpy.html">strcpy(3)</A></B>


</PRE>
<H2>STANDARDS</H2><PRE>
     The <B>memcpy</B>() function conforms to ISO 9899: 1990 (``ISO C'').


</PRE>
<H2>BUGS</H2><PRE>
     In this implementation <B>memcpy</B>() is implemented using <B><A HREF="bcopy.html">bcopy(3)</A></B>,  and
     therefore the strings may overlap.  On other systems, copying overlapping
     strings may produce surprises.  A simpler solution is to not use
     <B>memcpy</B>().

BSD				 June 4, 1993				     1
</PRE>
<HR>
<ADDRESS>
Man(1) output converted with
<a href="http://www.oac.uci.edu/indiv/ehood/man2html.html">man2html</a>
</ADDRESS>
</BODY>
</HTML>
